package com.chang.product.feign;


import com.chang.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/*
 * @Author Changzhenxi
 * @Date 2024/5/30 17:18
 * @Description This is description of method
 */
@FeignClient("ware")
public interface WareFeignService {

    @PostMapping("ware/waresku/getStock")
    Result getStock(@RequestBody List<Long> skuIds);
}
